Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ECR pull through cache pattern #1980

Merged
merged 3 commits into from
Aug 4, 2024
Merged

Conversation

rodrigobersa
Copy link
Contributor

Description

Motivation and Context

Fit pattern to EKS Blueprints standards.

  • Remove comments
  • Default to local variables
  • Set addons values
  • Remove values.yaml files and variables.

How was this change tested?

  • Yes, I have tested the PR using my local account setup (Provide any test evidence report under Additional Notes)
  • Yes, I have updated the docs for this feature
  • Yes, I ran pre-commit run -a with this PR

Additional Notes

@rodrigobersa rodrigobersa changed the title Fix: ECR pull through cache pattern fix: ECR pull through cache pattern Jul 23, 2024
@@ -1,3 +1,9 @@
locals {
ecr_account_id = var.ecr_account_id != "" ? var.ecr_account_id : data.aws_caller_identity.current.account_id
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets remove account ID and region entirely - we can get this data from the provider/data sources

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I kept those as different from the main region/account to illustrate that's possible to use an ECR on a different region/account, not required to be the same as the cluster deployment.

@rodrigobersa rodrigobersa marked this pull request as ready for review July 29, 2024 21:34
@rodrigobersa rodrigobersa requested a review from a team as a code owner July 29, 2024 21:34
Copy link
Contributor

@bryantbiggs bryantbiggs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great, thank you!

@bryantbiggs bryantbiggs merged commit 0921b88 into main Aug 4, 2024
5 checks passed
@bryantbiggs bryantbiggs deleted the fix/ecr-pull-through-cache branch August 4, 2024 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants